﻿<!--
(c) Copyright Fernando Cerqueira.
This source is subject to the Microsoft Public License (Ms-PL).
Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
All other rights reserved.
-->
    
<dw:DialogWindow x:Class="WindowsPhoneCommands.AboutDialog"
             xmlns:dw="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.10.0"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:res="clr-namespace:WindowsPhoneCommands"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        WindowStartupLocation="CenterOwner"
        x:Name="aboutDialog"
        Loaded="WindowLoaded" SizeToContent="WidthAndHeight" ResizeMode="NoResize" mc:Ignorable="d" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d:DesignHeight="420" d:DesignWidth="450">
    <Grid Width="342" Margin="10">
        <StackPanel>
            <TextBlock VerticalAlignment="Center" TextWrapping="Wrap" >                
            <Bold> Windows Phone Commands </Bold> ~ Visual Studio 2012</TextBlock>
            <TextBlock x:Name="Version" VerticalAlignment="Center" Margin="0,5" Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
            <TextBlock Text="{Binding Source={x:Static res:Resources.XMoreInfo}}" Foreground="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" TextAlignment="Center" FontSize="16" TextWrapping="Wrap" FontStyle="Italic" FontWeight="Bold" Margin="0,10" Cursor="Hand" MouseLeftButtonUp="TextBlockMouseLeftButtonUp" />
            <TextBlock TextWrapping="Wrap" FontStyle="Italic" FontWeight="Bold" Margin="0,0,0,5" Cursor="Hand" Visibility="Collapsed">
                <Hyperlink NavigateUri="http://coldacid.tumblr.com/" RequestNavigate="HyperlinkRequestNavigate" >
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="Revision to english by " />
                        <TextBlock Text="Chris Charabaruk" />
                    </StackPanel>
                </Hyperlink>
            </TextBlock>
            <dw:DialogButton  IsDefault="True" Name="OKButton" Click="OkButtonClick" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,5,12" Content="{Binding Source={x:Static res:Resources.OK}}" />
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="{Binding Source={x:Static res:Resources.XDevBy}}"  TextWrapping="Wrap" FontStyle="Italic" FontWeight="Bold" Margin="0,0,0,5" VerticalAlignment="Center" Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
                <TextBlock Text="Fernando Cerqueira"  TextWrapping="Wrap" FontStyle="Italic" FontWeight="Bold" Margin="0,0,0,5" VerticalAlignment="Center" Foreground="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}" />
                <Image Margin="10,0,0,10" Width="100" HorizontalAlignment="Left" Source="/WindowsPhoneCommands;component/Resources/About/MVP_Horizontal_FullColor.png" Height="40" Stretch="Fill" />
                <Image Width="35" Margin="5,-5,0,0" Source="/WindowsPhoneCommands;component/Resources/About/Brazil-Flag-3-icon.png" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
            </StackPanel>
        </StackPanel>
    </Grid>
</dw:DialogWindow>
